//
//  HKThemeManager.h
//  HKiOSTools
//
//  Created by 胡锦涛 on 2020/12/22.
//

#import <Foundation/Foundation.h>
#import "HKThemeProtocol.h"
NS_ASSUME_NONNULL_BEGIN

/// 简单对 QMUIThemeManager 做一层业务的封装，省去类型转换的工作量
@interface HKThemeManager : NSObject

@property(class, nonatomic, readonly, nullable) NSObject<HKThemeProtocol> *currentTheme;
@end

@interface UIColor (HKTheme)
@property(class, nonatomic, strong, readonly) UIColor *hk_backgroundColor;
@property(class, nonatomic, strong, readonly) UIColor *hk_backgroundColorLighten;
@property(class, nonatomic, strong, readonly) UIColor *hk_backgroundColorHighlighted;
@property(class, nonatomic, strong, readonly) UIColor *hk_tintColor;
@property(class, nonatomic, strong, readonly) UIColor *hk_titleTextColor;
@property(class, nonatomic, strong, readonly) UIColor *hk_mainTextColor;
@property(class, nonatomic, strong, readonly) UIColor *hk_descriptionTextColor;
@property(class, nonatomic, strong, readonly) UIColor *hk_placeHolderColor;
@property(class, nonatomic, strong, readonly) UIColor *hk_codeColor;
@property(class, nonatomic, strong, readonly) UIColor *hk_separatorColor;
@property(class, nonatomic, strong, readonly) UIColor *hk_gridItemTintColor;
@end

@interface UIImage (HKTheme)

@property(class, nonatomic, strong, readonly) UIImage *hk_searchBarTextFieldBackgroundImage;
@property(class, nonatomic, strong, readonly) UIImage *hk_searchBarBackgroundImage;
@end

@interface UIVisualEffect (HKTheme)

@property(class, nonatomic, strong, readonly) UIVisualEffect *hk_standardBlurEffect;
@end

NS_ASSUME_NONNULL_END
